import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入elementui的插件,实现按需加载,打包面积更小
// import './plugins/element.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Echarts from 'echarts'

Vue.config.productionTip = false
// 使用ElementUI
Vue.use(ElementUI)
// 将echarts加入到原型
Vue.prototype.$echarts = Echarts
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
